package com.lin.chapter33.chapter1.facade;

import java.util.Date;

public class HRFacade {
	private SalaryProvider salaryProvider = new SalaryProvider();
	private Attendance attendance = new Attendance();

	public int querySalary(String name, Date date){
		return salaryProvider.totalSalary();
	}

	public int queryWorkDays(String name){
		return attendance.getWorkDays();
	}
}
